<div id="content" class="hfeed">
    <div class="page hentry entry">
        <div class="post-wrap">
            <div class="entry-content">

                <h2>View</h2>
                <dl>
                		<dt><?php echo __('Id'); ?></dt>
                		<dd>
                			<?php echo h($modell['Modell']['id']); ?>
                			&nbsp;
                		</dd>
                		<dt><?php echo __('Image Url'); ?></dt>
                		<dd>
                			<?php echo h($modell['Modell']['image_url']); ?>
                			&nbsp;
                		</dd>
                		<dt><?php echo __('Is Active'); ?></dt>
                		<dd>
                			<?php echo h($modell['Modell']['is_active']); ?>
                			&nbsp;
                		</dd>
                		<dt><?php echo __('Price'); ?></dt>
                		<dd>
                			<?php echo h($modell['Modell']['price']); ?>
                			&nbsp;
                		</dd>
                		<dt><?php echo __('Discount'); ?></dt>
                		<dd>
                			<?php echo h($modell['Modell']['discount']); ?>
                			&nbsp;
                		</dd>
                		<dt><?php echo __('Retail Price'); ?></dt>
                		<dd>
                			<?php echo h($modell['Modell']['retail_price']); ?>
                			&nbsp;
                		</dd>
                		<dt><?php echo __('Warranty Month'); ?></dt>
                		<dd>
                			<?php echo h($modell['Modell']['warranty_month']); ?>
                			&nbsp;
                		</dd>
                		<dt><?php echo __('Mobile Base'); ?></dt>
                		<dd>
                			<?php echo $this->Html->link($modell['MobileBase']['mobile_base_name'], array('controller' => 'mobile_bases', 'action' => 'view', $modell['MobileBase']['id'])); ?>
                			&nbsp;
                		</dd>
                		<dt><?php echo __('Mobile Name'); ?></dt>
                		<dd>
                			<?php echo h($modell['Modell']['mobile_name']); ?>
                			&nbsp;
                		</dd>
                		<dt><?php echo __('Mobile Dimension'); ?></dt>
                		<dd>
                			<?php echo h($modell['Modell']['mobile_dimension']); ?>
                			&nbsp;
                		</dd>
                		<dt><?php echo __('Mobile Weight'); ?></dt>
                		<dd>
                			<?php echo h($modell['Modell']['mobile_weight']); ?>
                			&nbsp;
                		</dd>
                	</dl>



                <div class="related">
                	<h2><?php echo __('Related Mobile Details'); ?></h2>
                	<?php if (!empty($modell['MobileDetail'])): ?>
                	<table cellpadding = "0" cellspacing = "0">
                	<tr>
                		<th><?php echo __('Cpu Speed'); ?></th>
                		<th><?php echo __('Chipset Id'); ?></th>
                		<th><?php echo __('Ram'); ?></th>
                		<th><?php echo __('Internal Storage'); ?></th>
                		<th class="actions"></th>
                	</tr>
                	<?php foreach ($modell['MobileDetail'] as $mobileDetail): ?>
                		<tr>
                			<td><?php echo $mobileDetail['cpu_speed']; ?></td>
                			<td><?php echo $mobileDetail['chipset_id']; ?></td>
                			<td><?php echo $mobileDetail['ram']; ?></td>
                			<td><?php echo $mobileDetail['internal_storage']; ?></td>
                			<td class="actions">
                				<?php echo $this->Html->link(__('View'), array('controller' => 'mobile_details', 'action' => 'view', $mobileDetail['id'])); ?>
                				<?php echo $this->Html->link(__('Edit'), array('controller' => 'mobile_details', 'action' => 'edit', $mobileDetail['id'])); ?>
                				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'mobile_details', 'action' => 'delete', $mobileDetail['id']), array(), __('Are you sure you want to delete # %s?', $mobileDetail['id'])); ?>
                			</td>
                		</tr>
                	<?php endforeach; ?>
                	</table>
                <?php endif; ?>


                </div>

            </div>
        </div>
    </div>
</div>
<div id="sidebar" class="sidebar">
    <div class="widget">
        <h4>Function</h4>
        <ul class="menu">
            <li><?php echo $this->Html->link(__('Edit Model'), array('action' => 'edit', $modell['Modell']['id'])); ?> </li>
            		<li><?php echo $this->Form->postLink(__('Delete Model'), array('action' => 'delete', $modell['Modell']['id']), array(), __('Are you sure you want to delete # %s?', $modell['Modell']['id'])); ?> </li>
            		<li><?php echo $this->Html->link(__('List Models'), array('action' => 'index')); ?> </li>
            		<li><?php echo $this->Html->link(__('New Model'), array('action' => 'add')); ?> </li>
        </ul>
    </div>
</div>


